package com.qcby.framework.common.exception;

import lombok.Data;

/**
 * 错误代码
 *
 * @author cong.zhen
 * @date 2023/04/12
 */
@Data
public class ErrorCode {
    /**
     * 错误码
     */
    private final String code;
    /**
     * 错误提示
     */
    private final String msg;

    public ErrorCode(String code, String message) {
        this.code = code;
        this.msg = message;
    }
}
